package com.ruoyi.system.controller;

import com.ruoyi.system.domain.TypeFeedback;
import com.ruoyi.system.service.TypeFeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/typeFeedback")
public class TypeFeedbackController {
    @Autowired
    private TypeFeedbackService typeFeedbackService;

//    查询所有的问题反馈类型
    @RequestMapping("selectTypeFeedback")
    public List<TypeFeedback> selectTypeFeedback(){
        return typeFeedbackService.selectTypeFeedback();
    }
}
